﻿@model IFDB.ViewModels.PageViewModels.TeamViewModel

@{
    ViewBag.Title = "Team";
}

<div class="clear"></div>
<div class="grid_10">
    <h2>@Model.TeamName.Name</h2>
</div>

<div class="grid_2">
    @if (Model.TeamBadge != null)
    {
        <img src="~/Content/images/teams/@Model.TeamBadge.BadgePath" />
    }
</div>


<div class="clear"></div>
<div class="grid_7">
    @Html.Partial("~/Views/Shared/Match/_TeamMatchList.cshtml", Model.TeamMatchListViewModel)
</div>

<div class="grid_5">
    @Html.Partial("~/Views/Shared/Person/_TeamPersonList.cshtml", Model.TeamPersonListViewModel)    
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}